
<?php
	if(isset($_COOKIE['studialusername']) && isset($_COOKIE['studialuserpwd']) && isset($_COOKIE['studialuserid']))
	{
		setcookie('studialusername', '', time() - 3600, "/");
		setcookie('studialuserpwd', '', time() - 3600, "/");
		setcookie('studialuserid', '', time() - 3600, "/");	
		echo "da xa cookie";
		header ('Location: ../unlogged/index.php');
	}
	else
		header ('Location: home.php');
?>
